package com.afdor.rws.event.driven.channel.aliyun.mns.config;

import com.afdor.rws.annotation.extension.Extension;
import com.afdor.rws.annotation.extension.SPI;
import com.afdor.rws.event.driven.channel.aliyun.mns.utils.AliyunMnsUtils;
import com.afdor.rws.event.driven.commons.Constants;
import com.afdor.rws.event.driven.config.EventConfig;
import lombok.Data;

import java.io.Serializable;

/**
 * 阿里云MNS(消息服务)相关配置信息<br/>
 * Extension : singleton
 *
 * @author 悭梵
 * @date Created in 2018-12-13 11:21
 */
@Data
@SPI(AliyunMnsUtils.DEFAULT_COMPONENT_CONFIG_EXTENSION_NAME)
@Extension(value = AliyunMnsUtils.DEFAULT_COMPONENT_CONFIG_EXTENSION_NAME, scope = Extension.Scope.SINGLETON, interfaceClass = EventConfig.class)
public class AliyunMnsEventConfig extends EventConfig implements Serializable, Cloneable {
    /**
     * 阿里云账户标识
     */
    private String secretId;
    /**
     * MNS API秘钥
     */
    private String secretKey;
    /**
     * MNS的接入地址
     */
    private String endpoint;

}
